﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using A2DFramework.EventService;
using A2DFramework.InstanceService;

namespace Event_Pub2
{
    class Program
    {
        static void Main(string[] args)
        {
            A2DFramework.Starter.Init();
            A2DFramework.QueueService.Starter.Init();
            A2DFramework.EventService.Starter.Init();

            IEventBus evtBus = ObjectFactory.Resolve<IEventBus>();

            Console.WriteLine("listening...");

            Console.ReadKey();
        }
    }
}
